package org.jeecg.modules.demo.weixin.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 预约场次人员表
 * @Author: jeecg-boot
 * @Date:   2023-10-27
 * @Version: V1.0
 */
@Data
@TableName("smt_yuyue_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_yuyue_user对象", description="预约场次人员表")
public class SmtYuyueUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**玩家唯一标识*/
	@Excel(name = "玩家唯一标识", width = 15)
    @ApiModelProperty(value = "玩家唯一标识")
    private String openId;
	/**用户Id，标识谁预约的场次*/
	@Excel(name = "用户Id，标识谁预约的场次", width = 15)
    @ApiModelProperty(value = "用户Id，标识谁预约的场次")
    private Integer userId;
	/**关联主买人ID，非主买人才有值*/
	@Excel(name = "关联主买人ID，非主买人才有值", width = 15)
    @ApiModelProperty(value = "关联主买人ID，非主买人才有值")
    private Integer linkUserId;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String nickname;
	/**用户头像*/
	@Excel(name = "用户头像", width = 15)
    @ApiModelProperty(value = "用户头像")
    private String avatar;
	/**二维码类型（player:玩家扫玩家；business:玩家扫商家）*/
	@Excel(name = "二维码类型（player:玩家扫玩家；business:玩家扫商家）", width = 15)
    @ApiModelProperty(value = "二维码类型（player:玩家扫玩家；business:玩家扫商家）")
    private String qcType;
	/**场位二维码*/
	@Excel(name = "场位二维码", width = 15)
    @ApiModelProperty(value = "场位二维码")
    private String qrCode;
	/**场位号*/
	@Excel(name = "场位号", width = 15)
    @ApiModelProperty(value = "场位号")
    private String ord;
	/**用户类型(0：主买人，1：正常玩家，2：陪玩者，3：随机玩家；4：收银台玩家)*/
	@Excel(name = "用户类型(0：主买人，1：正常玩家，2：陪玩者，3：随机玩家；4：收银台玩家)", width = 15)
    @ApiModelProperty(value = "用户类型(0：主买人，1：正常玩家，2：陪玩者，3：随机玩家；4：收银台玩家)")
    private Integer userType;
	/**用户状态（0：正常；1：已踢出；2：待确认；3：已退款）*/
	@Excel(name = "用户状态（0：正常；1：已踢出；2：待确认；3：已退款）", width = 15)
    @ApiModelProperty(value = "用户状态（0：正常；1：已踢出；2：待确认；3：已退款）")
    private Integer status;
	/**关联支付账单号*/
	@Excel(name = "关联支付账单号", width = 15)
    @ApiModelProperty(value = "关联支付账单号")
    private String linkPayOrderNo;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**入场时间*/
	@Excel(name = "入场时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入场时间")
    private Date entranceTime;
}
